// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}

.el-form-item.disabled{
  .el-form-item__label{
    color: #C0C4CC;
  }
}
.el-form-item__label {
  padding: 0 14px 0 0;
}

.el-button.is-plain{
  background-color: #fff;
}
.el-button + .el-button {
  margin-left: 12px;
}
button.el-button--mini{
  padding: 2px 8px;
  line-height: 20px;
}
button.el-button--medium{
  padding: 5px 16px;
  line-height: 22px;
}
button.el-button--primary {
  border-color:#1979fc;
  background-color: #1979fc;
  color: #fff;
  &:hover{
    background-color: #52A3FF;
    border-color: #52A3FF;
  }
  &:focus{
    background-color: #0B64E0;
    border-color: #0B64E0 ;
  }
  &.is-plain {
    border-color:#1979fc;
    background-color: #fff;
    color: #1979fc;
    &:hover{
      background-color: #EDF5FF;
      color: #52A3FF;
      border-color: #52A3FF;
    }
    &:focus{
      background-color: #D7E8FC;
      color: #0B64E0;
      border-color: #0B64E0;
    }
  }
}
button.el-button--danger.is-plain {
  border-color: #1979fc;
  color: #1979fc;
  &:hover{
    background-color: #FFEFED;
    color: #F76363;
    border-color: #F76363;
  }
  &:focus{
    background-color: #FFE1DF;
    color: #D12E2E;
    border-color: #D12E2E;
  }
}
button.el-button--default.is-plain {
  border-color: #D9DADB;
  color: #0E0E0F;
  &:hover{
    background-color: #F2F3F5;
    color: #5F86FE;
    border-color: #527DFF;
  }
  &:focus{
    background-color: #E6E7E8;
    color: #305EE6;
    border-color: #0B42E6;
  }
}
.el-tabs.card {
  .el-tabs__header {
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 12px;
  }
}
.el-tabs__item.is-active {
  color: #1A7AFF;
  font-weight: 700;
}
.el-tabs__active-bar {
  background-color: #1A7AFF;
}
.el-tabs__item {
  height: 48px;
  line-height: 48px;
  padding: 0;
  min-width: 88px;
  text-align: center;
}
.el-tabs__nav-wrap::after{
  display: none;
}
.el-form--inline {
  .el-form-item__content {
    > .el-select ,
    > .el-input{
      width: 245px;
    }
  }
}
.el-tabs+.el-form--inline{
  .el-form-item{
    margin-bottom: 15px;
  }
}
.el-form--inline{
  .el-form-item.pull-right{
    margin-right: 20px;
  }
}

.el-table .el-table__header-wrapper th.el-table__cell,
.el-table .el-table__fixed-header-wrapper th.el-table__cell {
  font-size: 14px;
  background-color: #fff;
}
.el-table--medium .el-table__cell {
  padding: 13px 0;
}
.el-table--border .el-table__cell:first-child .cell,
.el-table th.el-table__cell > .cell {
  padding-left: 16px;
}
.el-table .cell {
  padding-left: 16px;
  line-height: 22px;
}
.tags-view-container .tags-view-wrapper .tags-view-item {
  font-size: 14px !important;
}

.el-card{
  border: none;
  border-radius: 12px !important;
  color: #0E0E0F;
  &.border{
    border: 1px solid #e6ebf5;
  }
  .el-card__header {
    padding: 15px 16px;
    min-height: auto;
  }
  .title{
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    color: #0E0E0F;
  }
}
.el-textarea__inner{
  font-size: 16px;
  padding: 5px 12px;
}
.el-input__inner {
  font-size: 16px;
  padding: 0 12px;
}
.el-input--medium .el-input__inner {
  height: 40px;
  line-height: 40px;
  font-size: 16px;
}
.el-input--medium {
  &.el-input--prefix{
    .el-input__inner{
      padding-left: 30px;
    }
  }
  .el-input__inner {
    font-size: 14px;
    height: 32px;
    line-height: 32px;
    padding: 0 12px;
  }
}
.el-textarea.is-disabled .el-textarea__inner,
.el-input.is-disabled .el-input__inner {
  background-color: #F7F8FA;
  border: 1px solid #EBECED;
  color: #0E0E0F;
}
